package com.cskt.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by bb on 2018/3/12.
 */
public class Student {
    private Integer sid;
    private Integer stuNo;
    private String stuName;
    private String stuSex;

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    private String gradeId;


    private String stuPhone;
    @DateTimeFormat(pattern = "yyyy-MM-DD")
    private Date stuBornDate;
    private String stuAddress;
    private String stuEamil;
    private Grade geade;



    public Grade getGeade() {
        return geade;
    }

    public void setGeade(Grade geade) {
        this.geade = geade;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getStuNo() {
        return stuNo;
    }

    public void setStuNo(Integer stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }



    public String getStuPhone() {
        return stuPhone;
    }

    public void setStuPhone(String stuPhone) {
        this.stuPhone = stuPhone;
    }

    public Date getStuBornDate() {
        return stuBornDate;
    }

    public void setStuBornDate(Date stuBornDate) {
        this.stuBornDate = stuBornDate;
    }

    public String getStuAddress() {
        return stuAddress;
    }

    public void setStuAddress(String stuAddress) {
        this.stuAddress = stuAddress;
    }

    public String getStuEamil() {
        return stuEamil;
    }

    public void setStuEamil(String stuEamil) {
        this.stuEamil = stuEamil;
    }
}
